setUserAttribute
Set the user attributes with the attributes specified in the HashMap
Since
12.0.00
Parameters
instance of Context
The attribute map which needs to be set for the user
level at which the attribute has to be set
Throws
if the attribute level is UserAttributeLevel.PORTFOLIO but the project id is not configured during initialisation
Track a user attribute in the default instance.
Note: This API only accepts the below data-types:
String, Int, Long, Double, Float, Boolean, Date, GeoLocation, Location , IntArray, ShortArray, LongArray, DoubleArray, FloatArray, Array of String, Array of Int , Array of Double, Array of Long , Array of Short , Array of Float, JSONArray and JSONObject
Since
12.0.00
Parameters
instance of Context
Attribute Name
Attribute Value
Account identifier, APP ID on the MoEngage Dashboard. If null, default instance will be used
level at which the attribute has to be set
Throws
if the attribute level is UserAttributeLevel.PORTFOLIO but the project id is not configured during initialisation